package com.example.a421;

public class ReadHeadDuck extends Duck{
    public void display(){
        System.out.println("I am readheadduck");
    }
    ReadHeadDuck(){
        flyBehavior=new Flywithwings();
        quackBehavior=new Quack();
    }
}
